package com.ideaction.game.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

//@Aspect
//@Component
public class StatisticsAdvice {

	@Pointcut("@annotation(com.ideaction.game.aop.Statistics)")
	public void filterStatistics() {
	}

	@Before("filterStatistics()")
	public void beforeAdvice(JoinPoint joinPoint) {
		System.out.println(joinPoint.getSignature().getName() + "方法要执行了");
	}
	
}
